package com.ruoyi.park.domain.vo;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 物资对象 omp_ma_material
 *
 * @author cjie
 * @date 2021-09-16
 */
@Data
@ApiModel
public class MaMaterialExcelVO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 物资名称 */
    @Excel(name = "物资名称")
    @ApiModelProperty(value = "物资名称")
    private String materialName;

    /** 物料编码 */
    @ApiModelProperty(value = "物料编码")
    private String materialNum;

    /** 规格 */
    @Excel(name = "规格型号")
    @ApiModelProperty(value = "规格型号")
    private String standards;

    /** 单位 */
    @Excel(name = "单位")
    @ApiModelProperty(value = "单位")
    private String unit;

    /** 用途 */
//    @Excel(name = "用途")
//    @ApiModelProperty(value = "用途")
//    private String purpose;

    /** 类别 */
    @Excel(name = "一级名称")
    @ApiModelProperty(value = "一级名称")
    private String bigCategory;

    /** 类别 */
    @Excel(name = "一级编码")
    @ApiModelProperty(value = "一级编码")
    private String bigCategoryNum;
    /** 类别 */
    @Excel(name = "二级名称")
    @ApiModelProperty(value = "二级名称")
    private String category;

    /** 类别 */
    @Excel(name = "二级编码")
    @ApiModelProperty(value = "二级编码")
    private String categoryNum;

    //以下属性为页面视图属性

    /** 单价 */
    @Excel(name = "单价")
    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private Double quantity;

    /** 总价 */
    @Excel(name = "总价")
    @ApiModelProperty(value = "总价")
    private BigDecimal totalPrice;

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    @ApiModelProperty(value = "仓库编号")
    private String houseNum;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    @ApiModelProperty(value = "仓库名称")
    private String warehouse;

    @Excel(name = "仓库地址")
    @ApiModelProperty(value = "仓库地址")
    private String address;

    @Excel(name = "园区编号")
    @ApiModelProperty(value = "园区编号")
    private String parkNum;

    /** 盘前数量 */
//    @Excel(name = "盘前数量")
//    @ApiModelProperty(value = "盘前数量")
//    private Double oldQuantity;
//
//    /** 仓库id */
//    @Excel(name = "仓库id")
//    @ApiModelProperty(value = "仓库id")
//    private String houseId;
//
//    /** 仓库及数量 */
//    @Excel(name = "仓库及数量")
//    @ApiModelProperty(value = "仓库及数量")
//    private List<Map<String,Object>> houseQuantityList;
}
